<?php

$arr = array(
    'state' => 'sucess',
    'items' => Array
        (
            '0' => '<li class="item"><div class="wjh-item"><div style="height:350px">1</div></div></li>',
            '1' => '<li class="item"><div class="wjh-item"><div style="height:310px">2</div></div></li>',
            '2' => '<li class="item"><div class="wjh-item"><div style="height:250px">3</div></div></li>',
            '3' => '<li class="item"><div class="wjh-item"><div style="height:325px">4</div></div></li>',
            '4' => '<li class="item"><div class="wjh-item"><div style="height:278px">5</div></div></li>',
            '5' => '<li class="item"><div class="wjh-item"><div style="height:400px">6</div></div></li>',
            '6' => '<li class="item"><div class="wjh-item"><div style="height:199px">7</div></div></li>',
            '7' => '<li class="item"><div class="wjh-item"><div style="height:250px">8</div></div></li>',
            '8' => '<li class="item"><div class="wjh-item"><div style="height:356px">9</div></div></li>',
            '9' => '<li class="item"><div class="wjh-item"><div style="height:279px">10</div></div></li>',
            '10' => '<li class="item"><div class="wjh-item"><div style="height:321px">11</div></div></li>',
            '11' => '<li class="item"><div class="wjh-item"><div style="height:268px">12</div></div></li>',
            '12' => '<li class="item"><div class="wjh-item"><div style="height:410px">13</div></div></li>',
            '13' => '<li class="item"><div class="wjh-item"><div style="height:280px">14</div></div></li>',
            '14' => '<li class="item"><div class="wjh-item"><div style="height:300px">15</div></div></li>',
            '15' => '<li class="item"><div class="wjh-item"><div style="height:260px">16</div></div></li>',
            '16' => '<li class="item"><div class="wjh-item"><div style="height:309px">17</div></div></li>'
        ),

    'pagenav' =>'',
    'retCode' => '1096'
);

print_r(json_encode($arr));

?>